import { DataSource } from '@/types/visualization/enum.ts'
import { ParagraphDRData } from '@/types/visualization/graph'

export const getParaType = (para: ParagraphDRData): number => {
  if (para.type === DataSource.EXTRACTED) return 2
  if (para.shared) return 1
  return 0
}
